package com.wtwd.device.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wtwd.device.model.entity.MedalType;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author mjy
 * @since 2022-04-11
 */
public interface WebMedalTypeService {

    IPage queryMedalTypePage(Page page);

    Integer addMedalType(MedalType medalType);

    /**
     * 删除该类型的徽章(同时删除该徽章类型下的徽章)
     *
     * @param medalTypeId
     * @return
     */
    Integer deleteMedalType(Long medalTypeId);
}
